/**============================================================================
 Confidential Information - Limited distribution to authorized persons only.
 This software is protected as an unpublished work under the U.S. Copyright
 Act of 1976.

 Copyright (c) 2011, BluePhoenix Solutions, Inc. All rights reserved.
 ----------------------------------------------------------------------------
 file......: BaseWindows.java
 Author....: Vyacheslav Kovalyov
 Created...: 23.10.11

 Description:

 ============================================================================*/
package ru.monyag.pred.swing.ui.windows;

import javax.swing.*;

import static ru.monyag.pred.swing.util.PredSwingUtils.setFrameToCenter;

/**
 * @author Vyacheslav Kovalyov
 * @version 1.0
 */
public abstract class BaseWindow extends JFrame {

    protected BaseWindow() {
    }

    protected BaseWindow(String title, int width, int height) {
        super(title);
        setSize(width, height);

        setFrameToCenter(this);
    }
}
